﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SemPlayGen.Website.HelperClasses
{
    public static class HtmlHelper
    {
        public static string CreateScript(string full_path)
        {
            return "<script src=\"" + (HttpContext.Current.Handler as System.Web.UI.Page).ResolveUrl(full_path) + "\" type=\"text/javascript\"></script>";
        }

        public static string CreateStyle(string full_path)
        {
            return "<link href=\"" + (HttpContext.Current.Handler as System.Web.UI.Page).ResolveUrl(full_path) + "\" rel=\"stylesheet\" type=\"text/css\" />";
        }
    }
}